package net.esj.basic.dao.ann.component.column;

import net.esj.basic.dao.ann.component.table.AbstractTable;

public class ForeignKeyColumn extends AbstractColumn {

	private AbstractTable fatherTable;
	
	protected AbstractColumn fatherColumn;

	public ForeignKeyColumn(String name, Class type, Integer length,
			Object defaultz, boolean notNull) {
		super(name, type, length, defaultz, notNull);
	}

	public ForeignKeyColumn(String name, Class type, Integer length,
			Object defaultz) {
		super(name, type, length, defaultz);
	}

	public ForeignKeyColumn(String name, Class type, Integer length) {
		super(name, type, length);
	}

	public ForeignKeyColumn(String name, Class type) {
		super(name, type);
	}

	public AbstractTable getFatherTable() {
		return fatherTable;
	}

	public void setFatherTable(AbstractTable fatherTable) {
		this.fatherTable = fatherTable;
	}

	public AbstractColumn getFatherColumn() {
		return fatherColumn;
	}

	public void setFatherColumn(AbstractColumn fatherColumn) {
		this.fatherColumn = fatherColumn;
	}

}
